package com.jandan.persistence.iface;

import java.util.List;

import com.jandan.ui.model.Article;

/**
 * 煎蛋热文的数据库访问接口，<span style='font-style:italic;'>此类可能会被弃用</span>
 * @author Gong Yong
 * @version 1.0
 * @see com.jandan.persistence.sqlmapdao.ArticleSqlMapDao 
 */
public interface ArticleDao {
	Article getArticleByArticleID(long articleID);
	long insertArticle(Article article);
	void updateArticle(Article article);
	void deleteArticle(long articleID);
	List<Article> getAllArticleList();
	List<Article> getLatestJandanArticleList(int n);
	List<Article> getAllArticleList(int start, int limit);
	int getTotalArticleCount();
	
}
